package com.region.http.client.core;

import com.region.loadbalancer.LoadBalancerManager;
import com.region.loadbalancer.group.GroupServer;

/**
 * @author 26225
 * @date 2024/9/2 22:53
 * @description
 */
public class CustomConfigurerRegister {

    private LoadBalancerManager loadBalancerManager;

    protected CustomConfigurerRegister() {}

    protected void setLoadBalancerManager(LoadBalancerManager loadBalancerManager) {
        this.loadBalancerManager = loadBalancerManager;
    }

    public void registerServer(GroupServer groupServer) {
        this.loadBalancerManager.addGroupServer(groupServer);
    }

}
